package com.foreveross.project.usercenterserver.common;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: yz
 * @Date: 2019/7/18 9:50 AM
 */

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class ResponseResult<T> implements Serializable {

    private static final long serialVersionUID = 613307369635832439L;
    private Long id;
    private int status;//请求状态是否成功
    private String error;//错误类型
    private String message;//详细的信息
    private String path;
    private Long timestamp;//时间戳
    private T data;//返回对象
    private Long total;
    private Integer ack;
    private Object additional;
}
